//
//  WTDataBaseHandle.h
//  艾听歌
//
//  Created by dllo on 16/6/4.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserModel.h"
#import "SongListModel.h"
#import <sqlite3.h>


@interface WTDataBaseHandle : NSObject
//单例
+(WTDataBaseHandle *)shareDataFMDBHandle;
// 打开数据库
-(void)openDB;
// 用户表
-(void)createUserTable;
-(void)insertUserWithUserModel:(UserModel *)user;
-(NSMutableArray *)selectUserWithCompare:(BOOL)compare;
// 音乐收藏
- (void)openMusicPlay;
- (void)createMucicPlay;
- (void)inserterWithModel:(SongListModel *)songModel;
-(NSMutableArray *)selectMusicPlaywithCompare:(BOOL)compare;
-(void)deleteMusicId:(NSNumber *)songId;
@end
